package qt.dao;

import org.apache.ibatis.annotations.Param;
import qt.domain.User;

import java.util.List;

/**
 * Created by yanlin on 2017/11/30.
 */
public interface UserDao {

    public User getUser(String ucode);

    public List<User> getAllUsers();

    public int getUsersCount();

    public List<User> getPageUser(int start, int limit);

    public int addUser(User user);

    public int upptUser(User user);

    public int deleUser(@Param("ucode") String ucode);

}
